SmartToolkit

Skins Development Manual

Contents

  1. List of Manual
  2. General Skinning
  3. Skin Files
  4. Skinning Script
  5. Tips and Notes
  6. Skins Installation Pack
  7. More Info

List of Manual

  1. General SmartToolkit Manual
  2. Language Development Notes
  3. Plugins Development Manual
  4. Skins Development Manual
  5. Changelogs

General Skinning

SmartToolkit Skin Files should be on "skins" folder of SmartToolkit main directory. If you make the skin with name my_skin you should create new directory with name my_skin in skins directory (skins\my_skin).

You need to create the skin files and image files. Supported type for Image file is only PNG (with alpha transparancy). you can save the image in 32bit colors for best quality.

All file must be save in the same directory (skins\my_skin).

You can learn the skin script with exiting sample skin which bundeled in SmartToolkit Release.

Skin Files

SmartToolkit Skin Files have an extension skin. The filename should fit with screen resolution. If there is no skin file which fit for current device, SmartToolkit will use the default skin.

Here the example:

 

Skin Files Type

!!! SAVE THE SKIN FILES WITH FORMAT UNICODE 16BIT - NO BOOM !!!

You can easely create your skin files use your windows notepad, but make sure the extensions is .skin and folow the naming above.

Make sure you save the file in format unicode 16BIT (NO BOOM) just like the languages and plugins file. Otherwise the skin file will not working properly.

Skinning Script

There is 4 tag type in skin's script:
<startui>, <bar>, <box> and <color>

STARTUI Tag

This tag is use to define the Start Menu Image on taskbar.

Sintax:
<startui:image_filename1,image_filename2>

Or:
<startui:image_filename1>

NOTE: Don't use the quote, the skin script is different with plugin script.

Remarks:

 

BAR Tag

This tag is use to draw the Bars Interfaces (Taskbar, Deskbar, Clipboard Bar and Messages Soft Key).

Sintax:
<bar:image_filename,x1,y1,x2,y2>

Or:
<startui:image_filename1>

NOTE: Don't use the quote in all values.

Remarks:

 

BOX Tag

This tag is use to draw the Boxes Interfaces (Start Menu, Plugins, Message Box).

Sintax:
<box:image_filename,x1,y1,x2,y2>

Remarks:

 

COLOR Tag

This tag is use to define the Skin Color.

Sintax:
<color:color_type,red,green,blue>

There is 5 color type:

  1. base
  2. highlight
  3. highlight_text
  4. bar_text
  5. box_text

Example:
<color:base,90,120,128>

Remarks:

 

Tips and Notes

Coloring Tips

 

Default Colors

It's ok if you doesn't define some, or all colors in your skin. SmartToolkit will use the Standard Windows System Color.

 

Drawing Notes

At least you draw 1 command for bar and box if you want to use your own skin for bar and box interface.

If there is no bar or box draw command, SmartToolkit will use the default skin.

 

Imaging Info

 

Skins Installation Pack

!!! Comming Soon !!!
 

More Info

For more info, please visit the e-Natives Technology Website and e-Natives Technology Forum.